package com.version.manager.annotaion;

import com.version.manager.constant.OrderType;
import com.version.manager.constant.QueryType;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
public @interface OrderColumn {
    String name() default "";
    OrderType orderType() default OrderType.ASC;
}
